﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;
namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface IDIVISION
    {
        [OperationContract]
        IEnumerable<CM_DIVISION> GetByAllDIVISION();

        [OperationContract]
        String InsertDIVISION(CM_DIVISION data);

        [OperationContract]
        String UpdateDIVISION(CM_DIVISION data);

        [OperationContract]
        String DeleteDIVISION(string id);

        [OperationContract]
        IEnumerable<CM_DIVISION> GetByTopDIVISION(string _top, string _where, string _order);

        [OperationContract]
        String ApproveDIVISION(CM_DIVISION data);
    }
}